package com.lunevich.json.items;

public class ApplicationItem {

	private String appName;
	private String appDescription;
	private PlatformItem platformItem;
	
	public String getAppName() {
		return appName;
	}
	
	public void setAppName(String appName) {
		this.appName = appName;
	}
	
	public String getAppDescription() {
		return appDescription;
	}
	
	public void setAppDescription(String appDescription) {
		this.appDescription = appDescription;
	}
	
	public PlatformItem getPlatformItem() {
		return platformItem;
	}
	
	public void setPlatforItem(PlatformItem platformItem) {
		this.platformItem = platformItem;
	}
	
	public String toString() {
		return "\nApp Name = " + this.appName +
			   "\nApp Description = " + this.appDescription +
			   "\n\tPlatform = " + this.platformItem.getFreeUrl() +
			   "\n\tImageUrl = " + this.platformItem.getImageUrl() + 
			   "\n\tCustomUrl = " + this.platformItem.getCustomUrl();
	}
}